package com.hanamaki.unit.testng.order;

import org.testng.annotations.Ignore;
import org.testng.annotations.Test;

public class OrderMethod {
    @Test(priority=2)
    public void test1(){
        System.out.println("test1方法被调用");
    }

    @Ignore
    @Test(priority=0)
    public void test2(){
        System.out.println("test2方法被调用");
    }
    @Test(priority=1,enabled = false)
    public void test3(){
        System.out.println("test3方法被调用");
    }
    @Test(priority=3)
    public void test4(){
        System.out.println("test4方法被调用");
    }

}
